package com.dream.pojo;

public class Bulletin {
    private long bulletinId;
    private String bulletinTitle;
    private String bulletinImg;
    private String bulletinContent;
    private long readCount;
    private long publisher;
    private long gmtCreate;
    private long gmtModify;

    private String gmtCreateTime; //扩展字段 存储yyyy-MM-dd
    private String gmtModifyTime; //扩展字段 存储yyyy-MM-dd


    public Bulletin() {
    }

    public Bulletin(String bulletinTitle, String bulletinImg, String bulletinContent, long publisher, long gmtCreate, long gmtModify) {
        this.bulletinTitle = bulletinTitle;
        this.bulletinImg = bulletinImg;
        this.bulletinContent = bulletinContent;
        this.publisher = publisher;
        this.gmtCreate = gmtCreate;
        this.gmtModify = gmtModify;
    }
    public Bulletin(long bulletinId, String bulletinTitle, String bulletinImg, String bulletinContent, long publisher, long gmtModify) {
        this.bulletinId = bulletinId;
        this.bulletinTitle = bulletinTitle;
        this.bulletinImg = bulletinImg;
        this.bulletinContent = bulletinContent;
        this.publisher = publisher;
        this.gmtModify = gmtModify;
    }

    public long getBulletinId() {
        return bulletinId;
    }

    public void setBulletinId(long bulletinId) {
        this.bulletinId = bulletinId;
    }

    public String getBulletinTitle() {
        return bulletinTitle;
    }

    public void setBulletinTitle(String bulletinTitle) {
        this.bulletinTitle = bulletinTitle;
    }

    public String getBulletinImg() {
        return bulletinImg;
    }

    public void setBulletinImg(String bulletinImg) {
        this.bulletinImg = bulletinImg;
    }

    public String getBulletinContent() {
        return bulletinContent;
    }

    public void setBulletinContent(String bulletinContent) {
        this.bulletinContent = bulletinContent;
    }

    public long getReadCount() {
        return readCount;
    }

    public void setReadCount(long readCount) {
        this.readCount = readCount;
    }

    public long getPublisher() {
        return publisher;
    }

    public void setPublisher(long publisher) {
        this.publisher = publisher;
    }

    public long getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(long gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public long getGmtModify() {
        return gmtModify;
    }

    public void setGmtModify(long gmtModify) {
        this.gmtModify = gmtModify;
    }

    public String getGmtCreateTime() {
        return gmtCreateTime;
    }

    public void setGmtCreateTime(String gmtCreateTime) {
        this.gmtCreateTime = gmtCreateTime;
    }

    public String getGmtModifyTime() {
        return gmtModifyTime;
    }

    public void setGmtModifyTime(String gmtModifyTime) {
        this.gmtModifyTime = gmtModifyTime;
    }
}
